From 03bb8cdcbdf4d12e05bc559c0ed330802d30606f Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Wed, 26 Jun 2019 12:34:42 +0200 Subject: [PATCH] theme: darken sliders to match gtk - match gtk a bit more closely, but avoid the gradients (change will happen on gtk side for this one). --- data/theme/gnome-shell-sass/_common.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index e40014265..32a6df727 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -146,8 +146,7 @@ StScrollBar { -slider-handle-radius: 8px; -slider-handle-border-width: 1px; -slider-handle-border-color: $borders_color; - color: $bg_color; /* FIXME to match gtk, we'd need to style the border of the slider, not - the whole widget */ + color: if($variant == 'light', lighten($bg_color, 10%), darken($bg_color,4%)); &:hover { color: $_hover_bg_color; } &:active { color: $_active_bg_color; } } -- 2.39.5